home *** CD-ROM | disk | FTP | other *** search
/ Dr. Windows 3 / dr win3.zip / dr win3 / UTILITY1 / HK10.ZIP / HKSRC.ZIP / HK.RC < prev    next >
Text File  |  1993-07-12  |  4KB  |  103 lines

  1. //===========================================================
  2. // HK.RC - Resource script
  3. // Copyright (C) 1993 Douglas Boling
  4. //===========================================================
  5.  
  6. #include "windows.h"
  7. #include "HK.h"
  8.  
  9. WinHKIcon ICON HK.ico
  10.  
  11. //---------------------------------------------------------
  12. // Main Window Dialog template
  13. //---------------------------------------------------------
  14. WinHK DIALOG 23, 20, 220,  92
  15. CLASS "WinHK"
  16. CAPTION "HK"
  17. STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX
  18. FONT 8, "Helv"
  19. BEGIN
  20.    LISTBOX                   IDD_KEYLIST,   5,   5, 165,  87, 
  21.               WS_TABSTOP | WS_VSCROLL | WS_HSCROLL | LBS_USETABSTOPS
  22.    DEFPUSHBUTTON "&Add...",      IDD_ADD, 175,   5,  40,  15
  23.    PUSHBUTTON "&Delete",         IDD_DEL, 175,  22,  40,  15
  24.    PUSHBUTTON "&Change",        IDD_EDIT, 175,  39,  40,  15
  25.    PUSHBUTTON "A&bout",        IDD_ABOUT, 175,  56,  40,  15
  26.    PUSHBUTTON "E&xit",          IDD_EXIT, 175,  73,  40,  15
  27. END
  28. //---------------------------------------------------------
  29. // Add Dialog
  30. //---------------------------------------------------------
  31. AddBox DIALOG 23, 20, 175,  53
  32. CAPTION "Add HotKey"
  33. STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
  34. FONT 8, "Helv"
  35. BEGIN
  36.    LTEXT "Command line:",            -1,   5,   5, 120,  10
  37.    EDITTEXT                  IDD_ADDCMD,   5,  15, 120,  12, WS_TABSTOP | ES_AUTOHSCROLL
  38.    LTEXT "Hot Key:",                 -1,   5,  32,  35,  10
  39.    EDITTEXT                  IDD_ADDKEY,  45,  30,  80,  12, WS_TABSTOP
  40.  
  41.    PUSHBUTTON "&Browse...",IDD_ADDBROWSE, 130,   5,  40,  12, WS_TABSTOP
  42.    DEFPUSHBUTTON "&Add",            IDOK, 130,  20,  40,  12, WS_TABSTOP
  43.    PUSHBUTTON "Cancel",        IDCANCEL, 130,  35,  40,  12, WS_TABSTOP
  44. END
  45. //---------------------------------------------------------
  46. // About Box Dialog template
  47. //---------------------------------------------------------
  48. AboutBox DIALOG 23, 20, 140, 114
  49. CAPTION "About HK"
  50. STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
  51. FONT 8, "Helv"
  52. BEGIN
  53.    ICON "WinHKIcon",                 -1,   5,   5,  16,  16
  54.    CTEXT "HK ",             IDD_PROGSTR,  40,  12,  60,  10
  55.    CTEXT "A Hot Key program",        -1,  10,  24, 120,  10
  56.    CTEXT "for Windows",              -1,  10,  36, 120,  10
  57.    CTEXT "Copyright \251 1993 Douglas Boling",
  58.                                      -1,  10,  48, 120,  10
  59.    CTEXT "First published in PC Magazine"
  60.                                      -1,  10,  60, 120,  10
  61.    CTEXT "October 12, 1993"          -1,  10,  72, 120,  10
  62.    CTEXT "US Edition"                -1,  10,  84, 120,  10
  63.    DEFPUSHBUTTON "OK",             IDOK,  50,  96,  40,  12
  64. END
  65. //---------------------------------------------------------
  66. // String table containing error messages
  67. //---------------------------------------------------------
  68. STRINGTABLE {
  69.     0,  "Out of system memory"
  70.     1,  "Windows launch error code 1"
  71.     2,  "File not found"
  72.     3,  "Path not found"
  73.     4,  "Windows launch error code 4"
  74.     5,  "File sharing error"
  75.     6,  "Library cannot be shared"
  76.     7,  "Windows launch error code 7"
  77.     8,  "Not enough memory for application"
  78.     9,  "Windows launch error code 9"
  79.    10,  "Bad Windows version"
  80.    11,  "Bad EXE format"
  81.    12,  "Program needs different Operating system"
  82.    13,  "Program designed for European DOS 4"
  83.    14,  "Unknown EXE type"
  84.    15,  "Cannot start Real Mode applicaiton"
  85.    16,  "Cannot start more than one instance"
  86.    17,  "Windows launch error code 17"
  87.    18,  "Windows launch error code 18"
  88.    19,  "EXE file compressed"
  89.    20,  "Windows launch error code 20"
  90.    21,  "Win 32 program"
  91.    22,  "Windows launch error code 22"
  92.    23,  "Windows launch error code 23"
  93.    24,  "Windows launch error code 24"
  94.    25,  "Windows launch error code 25"
  95.    26,  "Windows launch error code 26"
  96.    27,  "Windows launch error code 27"
  97.    28,  "Windows launch error code 28"
  98.    29,  "Windows launch error code 29"
  99.    30,  "Windows launch error code 30"
  100.    31,  "Windows launch error code 31"
  101.    32,  "Error starting program:\n\n"
  102. }
  103.